/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author shohdi
 */

import java.awt.Shape;

public class BaseVectorShape {
    
    private Shape shape;
    
    private boolean alive;
    
    private double x,y,velX,velY,faceAngle,moveAngle;
    
    public void setShape (Shape newShape)
    {
        shape = newShape;
    }
    
    public Shape getShape ()
    {
        return shape;
    }
    
    
    public void setAlive (boolean newAlive)
    {
        alive = newAlive;
    }
    
    public boolean isAlive ()
    {
        return alive;
    }
    
    
    
    
    public void setX (double newX)
    {
        x = newX;
    }
    
    public double getX ()
    {
        return x;
    }
    
     public void setY (double newY)
    {
        y = newY;
    }
    
    public double getY ()
    {
        return y;
    }
    
    
    
     public void setVelX (double newVelX)
    {
        velX = newVelX;
    }
    
    public double getVelX ()
    {
        return velX;
    }
    
    
     public void setVelY (double newVelY)
    {
        velY = newVelY;
    }
    
    public double getVelY ()
    {
        return velY;
    }
    
    
    
     public void setFaceAngle (double newFaceAngle)
    {
        faceAngle = newFaceAngle;
    }
    
    public double getFaceAngle ()
    {
        return faceAngle;
    }
    
   public void setMoveAngle (double newMoveAngle)
    {
        moveAngle = newMoveAngle;
    }
    
    public double getMoveAngle ()
    {
        return moveAngle;
    } 
    
    
    public void incX (double inc)
    {
        x += inc;
        
    }
    
    public void incY (double inc)
    {
        y += inc;
    }
    
    public void incVelX (double inc)
    {
        velX += inc;
    }
    
    
     public void incVelY (double inc)
    {
        velY += inc;
    }
     
     
     public void incMoveAngle (double inc)
    {
        moveAngle += inc;
    }
     
     
     public void incFaceAngle (double inc)
    {
        faceAngle += inc;
    }
    
     
     public BaseVectorShape ()
     {
         setAlive(false);
         setShape (null);
         setX (0);
         setY (0);
         setVelX (0);
         setVelY (0);
         setFaceAngle(0);
         setMoveAngle(0);
         
     }
}
